﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="NoiDungHoatDong.aspx.cs" Inherits="NoiDungHoatDong" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    DataKeyNames="tinhoatdongId" DataSourceID="SqlDataSource1" Width="100%" 
    GridLines="None" ShowHeader="False">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <table class="style1">
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="#0066FF" 
                                Text='<%# Eval("tieude") %>'></asp:Label>
                            <br />
                            <asp:Label ID="Label2" runat="server" Font-Italic="True" Font-Size="Small" 
                                Text='<%# Eval("ngaydang") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Literal ID="Literal1" runat="server" Text='<%# Eval("noidung") %>'></asp:Literal>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:GSPhuongThaoConnectionString %>" 
    SelectCommand="SELECT * FROM [TinHoatDong] WHERE ([tinhoatdongId] = @tinhoatdongId)">
    <SelectParameters>
        <asp:QueryStringParameter Name="tinhoatdongId" QueryStringField="mbv" 
            Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
</asp:Content>

